export const userInfo = function(){
    let user = {};
    user.token = localStorage.getItem('token');
    user.name = localStorage.getItem('authName');
    user.imgUrl = localStorage.getItem('authUrl');
    return user
}